WeDevs\Wpuf\Integrations\Events_Calendar\Validators\Date_Validator B

Total Complexity 85
Dependencies 2
Dependents 0
Total lines 439
Lines of code 239
Logical lines of code 144
Comment lines 124
Methods 15
Properties 1

Methods 15

Method Rating Maintainability Complexity Lines of code
validate_field()
B
44 20 43
validate_all_day_event()
A
50 12 26
validate_date_range()
A
50 9 28
validate_date_format()
A
50 8 31
validate_date_data()
S
54 6 23
is_valid_time_value()
S
60 6 13
parse_date()
S
58 5 16
is_valid_date_format()
S
61 4 13
validate_timezone()
S
63 4 10
convert_to_wp_timezone()
S
62 3 12
format_date_for_display()
S
63 3 10
add_supported_format()
S
73 2 5
is_valid_timezone()
S
79 1 3
should_validate_past_dates()
S
79 1 3
get_supported_formats()
S
82 1 3